package com.kmzx.one.project.others.common;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.kmzx.one.project.config.web.Decimal2Serializer;

import java.math.BigDecimal;

public class VIPRank {

    private String name;

    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal money;

    private int rankNum;

    public String getName() {
        return name;
    }

    public VIPRank setName(String name) {
        this.name = name;
        return this;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public VIPRank setMoney(BigDecimal money) {
        this.money = money;
        return this;
    }

    public int getRankNum() {
        return rankNum;
    }

    public VIPRank setRankNum(int rankNum) {
        this.rankNum = rankNum;
        return this;
    }
}
